const express = require('express');
const router = express.Router();
const alumniController = require('../controllers/alumniController');

// 获取校友列表
router.get('/', alumniController.getAlumniList);

// 获取单个校友详情
router.get('/:id', alumniController.getAlumniDetail);

// 更新校友信息
router.put('/:id', alumniController.updateAlumni);

// 标记公司开放岗位
router.post('/:companyId/mark-jobs', alumniController.markCompanyJobs);

// 请求联系方式
router.post('/:id/request-contact', alumniController.requestContact);

module.exports = router;
